/*
 * Copyright (C) 2020 yixun All Rights Reserved.
 * 
 * CustomerMapper.java
 */
package com.yixun.qfbao.mapper;

import com.yixun.qfbao.model.Customer;
import com.yixun.qfbao.model.dto.CustomerDto;
import com.yixun.tkmapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
/**
 * [文件名称]<br>
 * CustomerMapper.java<br>
 * <br>
 * [文件描述]<br>
 * 客户 mapper<br>
 * <br>
 * [修改记录]<br>
 * 2020-09-08 11:33:45 创建 陶俊代码生成器<br>
 * 
 * @author 陶俊代码生成器
 * @version 1.00
 */
public interface CustomerMapper extends BaseMapper<Customer> {
    
	int count(@Param("customerDto") CustomerDto customerDto);

	List<Customer> list(@Param("customerDto") CustomerDto customerDto, @Param("beginNum") int beginNum, @Param("endNum") int endNum);
   
	List<Customer> selectListByDto(@Param("customerDto") CustomerDto customerDto);
	
	Customer selectByDto(@Param("customerDto") CustomerDto customerDto);

	List<CustomerDto> selectRepeatCustomerList();
	
}
